#ifndef __TLV_H__
#define __TLV_H__

namespace myNameSpace {
enum TaskType {
    TASK_SIGNUP_SECTION1 = 1,
    TASK_SIGNUP_SECTION1_RESP_OK,
    TASK_SIGNUP_SECTION1_RESP_ERROR,
    TASK_SIGNUP_SECTION2,
    TASK_SIGNUP_SECTION2_RESP_OK,
    TASK_SIGNUP_SECTION2_RESP_ERROR,
    TASK_LOGIN_SECTION1,
    TASK_LOGIN_SECTION1_RESP_OK,
    TASK_LOGIN_SECTION1_RESP_ERROR,
    TASK_LOGIN_SECTION2,
    TASK_LOGIN_SECTION2_RESP_OK,
    TASK_LOGIN_SECTION2_RESP_ERROR,
};

struct TLV {
    int _type;
    int _length;
    char _data[1024];
};
} // end of namespace myNameSpace

#endif
